<?php
/**
 * Created by PhpStorm.
 * User: white
 * Date: 2020/5/8
 * Time: 16:44
 */

namespace app\common\validate;


use think\Validate;

class Sign extends Validate
{
    protected $rule = [
        'sign_name|真实姓名' => 'require',
        'phone|联系电话' => 'require|/^1[3456789]\d{9}$/',
        'school|报名学校' => 'require',
        'major|报名专业' => 'require'
    ];
}